package com.jhclothing.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 服饰品类与布料关联对象
 */
public class ClothingFabricRelation {
    /**
     * 服饰品类与布料关联ID
     */
    private Long clothingFabricRelationId;

    /**
     * 服饰品类ID
     */
    private Long clothingTypeId;

    /**
     * 布料ID
     */
    private Long fabricId;

    public Long getClothingFabricRelationId() {
        return clothingFabricRelationId;
    }

    public void setClothingFabricRelationId(Long clothingFabricRelationId) {
        this.clothingFabricRelationId = clothingFabricRelationId;
    }

    public Long getClothingTypeId() {
        return clothingTypeId;
    }

    public void setClothingTypeId(Long clothingTypeId) {
        this.clothingTypeId = clothingTypeId;
    }

    public Long getFabricId() {
        return fabricId;
    }

    public void setFabricId(Long fabricId) {
        this.fabricId = fabricId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("clothingFabricRelationId", getClothingFabricRelationId())
                .append("clothingTypeId", getClothingTypeId())
                .append("fabricId", getFabricId())
                .toString();
    }
}
